<div class="docs-main">
    <table id="tablesaw" class="tablesaw table yx-table1 yx-table5 table-striped with-check">
        <thead>
        <tr class="yx-bgd2f6ec">
            <th><?= \Yii::t('zhtfrontend', '课程名称'); ?></th>
            <th><?= \Yii::t('zhtfrontend', '课次'); ?></th>
            <th><?= \Yii::t('zhtfrontend', '学员'); ?></th>
            <th><?= \Yii::t('zhtfrontend', '上课状态'); ?></th>
        </tr>
        </thead>
        <?php if ($data): ?>
            <?php foreach ($data as $item): ?>
                <tr data-id="<?= $item['id'] ?>">
                    <td><?= $item['name'] ?></td>
                    <td><?= $item['lesson'] ?></td>
                    <td><?= $item['student_name'] ?></td>
                    <td><?= $item['status'] ?></td>
                </tr>
            <?php endforeach; ?>
        <?php endif; ?>
    </table>
</div>